package org.example.service;

import org.example.entity.User;

import java.util.List;

/**
 * @author 李云龙
 * @program: shiro_login
 * @description: service
 * @date 2024-10-09 21:55:00
 */
public interface UserService {
    // user login
    User getUserInfoByName(String name);

    List<String> getUserRoleInfo(String principal);

    List<String> getUserRolePermissionInfo(String principal);

    List<String> getUserRolePermissionInfo(List<String> roles);


}
